package com.example.springcloudwinter.bo;

import com.example.springcloudwinter.po.UserPo;

public class UserBo {
    private String userId;
    private String userName;
    private int userSex;
    private String userImg;
    private boolean vipFlag;

    public boolean isVipFlag() {
        return vipFlag;
    }

    public UserBo setVipFlag(boolean vipFlag) {
        this.vipFlag = vipFlag;
        return this;
    }

    public UserBo() {
    }

    public UserBo(UserPo userPo) {
        userId=userPo.getUserId();
        userName= userPo.getUserName();
        userImg=userPo.getUserImg();
        userSex=userPo.getUserSex();
    }

    public String getUserId() {
        return userId;
    }

    public UserBo setUserId(String userId) {
        this.userId = userId;
        return this;
    }

    public String getUserName() {
        return userName;
    }

    public UserBo setUserName(String userName) {
        this.userName = userName;
        return this;
    }

    public int getUserSex() {
        return userSex;
    }

    public UserBo setUserSex(int userSex) {
        this.userSex = userSex;
        return this;
    }

    public String getUserImg() {
        return userImg;
    }

    public UserBo setUserImg(String userImg) {
        this.userImg = userImg;
        return this;
    }
}
